package com.his.menu.dao;

import com.his.menu.entity.BenchWorkIndex;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.*;

/**
 * @Author xiaoxiaoping
 * @Date 2020/1/9
 */
@Repository
public interface BenchWorkIndexMapper {

    List<BenchWorkIndex> selectByMap(Map params);

    void  insertAllColumn(BenchWorkIndex benchWorkIndex);

    void insertBatch(List<BenchWorkIndex> list);

    void deleteById(String benchId);

    void updateById(BenchWorkIndex benchWorkIndex);

    List<BenchWorkIndex> selectByEntity(BenchWorkIndex benchWorkIndex);

    List<BenchWorkIndex> selectAll();
    List<BenchWorkIndex> selectMenuByEmp(String empId);

    List<BenchWorkIndex> selectByIdSet(List<String> menuList);
}
